package edu.njust.httpmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.njust.httpmanager.common.Result;
import edu.njust.httpmanager.entity.User;

public interface IUserService extends IService<User> {

    /**
     * 根据账号，密码查询用户
     */
    User queryUser(User user);

    /**
     * 用户注册
     */
    Result<?> register(User user);

}
